var express = require('express');
var router = express.Router();
var userLogin = require('../controllers/loginContriol')
var findMenu = require('../controllers/routeControl')
var findPerson = require('../controllers/searchControl')
var punch = require('../controllers/clockControl')
/* GET users listing. */
router.post('/login',userLogin.login)
router.get('/findMenuByUserId',findMenu.findMenuByUserId)
router.get('/searchPerson',findPerson.searchPerson)
router.post('/punchTime',punch.getPosition)
module.exports = router;
